* {
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%; //确保版面与手机屏幕一样大小
    background-color: #fff;
}
.icon-left{
    left: 0;
}
.lt-layout .lt-header a.icon-right{
    left: auto;
    right: 0;//覆盖left
}
ul,
ol,
li {
    list-style-type: none;
}

.lt-layout {
    max-width: 640px;
    min-width: 320px;
    height: 100%;
    border: 1px solid red;
    margin: 0 auto;
    padding: 45px 0 50px 0;
    position: relative;

    .lt-header {
        height: 45px;
        width: 100%;
        background-color: #006699;
        // position: absolute;  //posa回车 
        position: fixed; // posf回车
        top: 0;
        left: 0;

        a {
            position: absolute;
            left: 0;
            top: 0;
            width: 45px;
            height: 45px;
            color: #fff;
            text-align: center;
            line-height: 45px;
        }

        .search {
            left: auto; //好让right覆盖
            right: 0;
        }

        h4 {
            text-align: center;
            line-height: 45px;
            color: #fff;
            height: 45px;
            font-weight: 45px;
        }
    }

    .lt-main {
        height: 100%;
        // background-color: #f0f;
        position: relative;
        .index-list{
            li{
                float: left;
                width: 33.3%;
                a{
                    display: block; //db enter
                    img{
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
        .lt-product{
            padding: 0 5px;
            .item{
                width: 48%;
                float: left;
                text-align: center;
                &:nth-child(even){
                    float: right;
                    margin-left: 10px;
                }
                img{
                    width: 100%;
                }
                .new{
                    color: red;
                }
                .old{
                    text-decoration: line-through;
                }
            }
        }
    }

    .lt-footer {
        width: 100%;
        position: fixed;
        height: 50px;
        background-color: #006699;
        left: 0;
        bottom: 0;
        li.current{
            a,p{
                color: #baa520;
            }
        }
        li {
            float: left;
            width: 25%;
            text-align: center;
           
            a {
                padding-top: 5px;
                height: 50px;
                display: block;
                color: #fff;

                p { 
                color: #fff;
                }
            }
        }
    }
}